課程資訊
課程名稱
計算機程式
Computer Programming 
開課學期
99-2 
授課對象
土木工程學系  
授課教師
謝尚賢 
課號
CIE1008 
課程識別碼
501 10800 
班次
02 
學分
全/半年
半年 
必/選修
必修 
上課時間
星期一2,3,4(9:10~12:10) 
上課地點
 
備註
課後一小時練習。上課教室:工綜323室
限本系所學生(含輔系、雙修生)
總人數上限:40人 
Ceiba 課程網頁
http://ceiba.ntu.edu.tw/992CP 
課程簡介影片
 
核心能力關聯
核心能力與課程規劃關聯圖
課程大綱
為確保您我的權利,請尊重智慧財產權及不得非法影印
課程概述

介紹電腦語言及電腦程式之設計、寫作與維護,訓練學生邏輯思考,並使學生了解如何利用C++撰寫電腦程式解決工程領域中的問題。 

課程目標
透過電腦程式語言之介紹與實際寫作,提升學生邏輯思考與善用現代化資訊工具之能力,並能利用電腦程式解決簡單之工程領域相關問題。 
課程要求
上課認真學習,作業認真練習。 
預期每週課後學習時數
 
Office Hours
 
指定閱讀
Hennefeld, J., L. Baker, and C. Burchard (2003). Using C++: An Introduction to Programming, 2nd Ed., Brooks/Cole Publishing Company, Pacific Grove, CA, U.S.A. 
參考書目
教科書:

Hennefeld, J., L. Baker, and C. Burchard (2003). Using C++: An Introduction to
Programming, 2nd Ed., Brooks/Cole Publishing Company, Pacific Grove, CA, U.S.A.


參考書:

1. Stroustrup, B. (1991). The C++ Programming Language, 2nd Ed., Addison-
Wesley Publishing Company, New York, U.S.A.
2. Whale, G. (1996). Data Structures and Abstraction Using C,
International Thomson Publishing Companies, Australia.
3. Kernighan, B. W., and D. M. Ritchie (1988). The C Programming
Language, Second Edition, Prentice Hall, Englewood Cliffs, NJ, U.S.A.
 
評量方式
(僅供參考)
 
No.
項目
百分比
說明
1. 
Quiz (隨堂測驗) 
24% 
Three times, 8% each 
2. 
Midterm Exam (期中考) 
24% 
Twice, 12% each 
3. 
Final Exam (期末考) 
22% 
 
4. 
Lab Exercises (課堂作業) 
30% 
every class 
5. 
Bonus Project (加分專題作業) 
10% 
Extra credits 
 
課程進度
週次
日期
單元主題
第1週
02/21  Course Introduction <BR>Introduction to Programming Languages <BR>Overview of Computers and Problem Solving (Chapter 1) 
第2週
02/28  <B> Peace Memorial Day (holiday) </B> 
第3週
03/07  Introduction to Visual C++ <BR>
Introduction to C++ (Chapter 2) 
第4週
03/14  More on the Elements of C++ (Chapter 3) 
第5週
03/21  <B>Quiz I</B><BR>
Selection Using if and if..else (Chapter 4) 
第7週
04/04  <B> Study day (No Class) </B> 
第8週
04/11  The string Data Type and More Output Formatting (Chapter 6) 
第9週
04/18  The Three C Looping Constructs (Chapter 7) <BR>More General Task-Controlled Loops (Chapter 8)  
第10週
04/25  <B>Quiz II</B> <BR>
Functions with Reference Parameters (Chapter 9) 
第11週
05/02  More on Functions (Chapter 10)<BR>Recursive Functions (Chapter 25) 
第12週
05/09  <B>Midterm Exam II (Ch.1 - Ch. 10)</B> 
第13週
05/16  Text Files and Streams (Chapter 11) <BR>
The switch and enum statements (Chapter 12)  
第14週
05/23  Arrays and the vector Class (Chapter 13) <BR> Matrices (Chapter 15)  
第15週
05/30  Pointers and Dynamic Memory Allocation (Chapter 22) <BR>
<B> Quiz III </B> 
第16週
06/06  <B>Dragon Boat Festival (holiday)</B> 
第17週
06/13  More Advanced String Processing (Chapter 16)<BR> Structs (Chapter 17) 
第18週
06/20  <B> Final Exam (期末考) </B> 
第6-1週
03/28  Functions and Program Design (Chapter 5) 
第6-2週
03/30  <B>Midterm Exam I (Ch. 1 - Ch 5) <BR>(6:30pm - 9pm) </B>